set format=epub|set format=docx|--output format--
#newl "#ppthapps\pandoc\pandoc.exe" |--program file--
-o "#path#name.%format%" |"I:\documents\#name.%format%" |--output location and file name--
--metadata=title:"#name" |--title--
"#item" |-input-

<comment>
Convert to epub, using pandoc.
Metadata will not be copied from docx?
-
If you need to convert files from one markup format into another, pandoc is your swiss-army knife. 
Pandoc can convert
Input formats:  docbook, docx, epub, haddock, html, json, latex, markdown,
                markdown_github, markdown_mmd, markdown_phpextra,
                markdown_strict, mediawiki, native, opml, org, rst, t2t,
                textile, twiki
Output formats: asciidoc, beamer, context, docbook, docx, dokuwiki, dzslides,
                epub, epub3, fb2, haddock, html, html5, icml, json, latex, man,
                markdown, markdown_github, markdown_mmd, markdown_phpextra,
                markdown_strict, mediawiki, native, odt, opendocument, opml,
                org, pdf*, plain, revealjs, rst, rtf, s5, slideous, slidy,
                texinfo, textile
                [*for pdf output, use latex or beamer and -o FILENAME.pdf]
You can also convert to docx, and then convert docx to pdf.

output from pandoc --help.